package org.neuedu.chapter05_0618;

public class MethodDemo01 {

    public static void main(String[] args) {
        test1();
    }

    // public static 返回值类型 方法名(参数){方法体}
    // void 无返回值
    public static void test1(){
        test2();
        System.out.println("test1");
        test3();
    }

    public static void test2(){
        System.out.println("test2");
    }

    public static void test3(){
        System.out.println("test3");
    }
}
